package com.credit.management.system.jdbc.dao;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.credit.management.system.model.Page;
import com.credit.management.system.util.MyBatisPaginate;


@Repository
public class ContractSubDao {
	@Autowired
	private MyBatisPaginate myBatisPaginate;
	private String nameSpace="com.credit.management.system.custom.dao.CContractSubMapper.";
	/**
	 * 
	 * @param page
	 * @return
	 */
	public Page findPageContractSubsByContractId(Page page){
		//findPageApproves是xml中的id
		myBatisPaginate.executeQueryPage(page, nameSpace+"findPageContractSubsByContractId");
	return page;
	}

}
